package com.org.daniel.service.manager;

import com.org.daniel.mapper.manager.ManagerRolePermissionRelationMapper;
import com.org.daniel.module.entity.manager.ManagerRolePermissionRelation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Daniel
 */
@Service
public class ManagerRolePermissionRelationService {
	private static Logger logger = LoggerFactory.getLogger(ManagerRolePermissionRelationService.class);

	@Autowired
	private ManagerRolePermissionRelationMapper managerRolePermissionRelationMapper;

	public List<ManagerRolePermissionRelation> findByRoleSeq(String roleSeq){
		return managerRolePermissionRelationMapper.queryByRoleSeq(roleSeq);
	}

}
